#include "core/ServiceFactory.h"
#include "core/LoggerService.h"
#include <memory>

namespace core {

std::unique_ptr<BaseService> ServiceFactory::createLoggerService(const std::string& name) {
    auto service = std::make_unique<LoggerService>(name);
    if (!service->initialize()) {
        return nullptr;
    }
    return service;
}

} // namespace core